package com.dhcc.cdc.sys.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.core.framework.base.entity.DataEntity;
import com.dhcc.core.modules.system.entity.Dept;


/**
 * 院区数据、科室数据、患者数据、检验数据等
 * 
 * @ClassName: CdcDataEntity
 * @Description: TODO
 * @author jumper
 * @date 2021-03-31 17:43:57
 */
@TableName("t_cdc_sys_data") 
public class CdcDataEntity extends DataEntity<CdcDataEntity> {
	private static final long serialVersionUID = 1L;
	
	//代码
	private String code;	
	//描述
	private String description;	
	//备注
	private String note;	
	//是否有效
	private Integer isActive;	
	//所属组织
	private Long organizationId;	
    @TableField(exist = false) 
    private Dept organization;

    private Long cdcDataTypeId;	
    @TableField(exist = false) 
    private DictionaryEntity cdcDataType;
	public Long getCdcDataTypeId() {
        return cdcDataTypeId;
    }
    public void setCdcDataTypeId(Long cdcDataTypeId) {
        this.cdcDataTypeId = cdcDataTypeId;
    }
    public DictionaryEntity getCdcDataType() {
        return cdcDataType;
    }
    public void setCdcDataType(DictionaryEntity cdcDataType) {
        this.cdcDataType = cdcDataType;
    }
    /**
	 * 设置：代码
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * 获取：代码
	 */
	public String getCode() {
		return code;
	}
	/**
	 * 设置：描述
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * 获取：描述
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * 设置：备注
	 */
	public void setNote(String note) {
		this.note = note;
	}
	/**
	 * 获取：备注
	 */
	public String getNote() {
		return note;
	}
	/**
	 * 设置：是否有效
	 */
	public void setIsActive(Integer isActive) {
		this.isActive = isActive;
	}
	/**
	 * 获取：是否有效
	 */
	public Integer getIsActive() {
		return isActive;
	}
	
    /**
	 * 设置：所属组织
	 */
	public void setOrganization(Dept organization) {
        this.organization = organization;
    }
	/**
	 * 获取：所属组织
	 */
	public Dept getOrganization() {
        return organization;
    }
    
    public Long getOrganizationId() {
        return organizationId;
    }
    public void setOrganizationId(Long organizationId) {
        this.organizationId = organizationId;
    }
}
